package com.hj.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.hj.service.StopService;

@Controller
@RequestMapping("/change")
public class StopMission {
	@Autowired
	private StopService stopService;
	@RequestMapping("/stop")
	public String ReSet(HttpServletRequest req,HttpServletResponse resp){
		stopService.stopJob();
		return "/MyJsp";
	}
}
